package com.forchange.project.core.hotcategorytop10review.controller

import com.forchange.project.core.TController
import com.forchange.project.core.hotcategorytop10review.service.HotCategoryTOP10ServiceReview

/**
 * @Author chencong
 * @Description 控制层
 * @Date 5:36 下午 2021/6/27
 * @Param
 * */
class HotCategoryTop10ControllerReview extends TController {
  private val categoryTOP10ServiceReview = new HotCategoryTOP10ServiceReview

  override def execute(): Unit = {
    val result: Array[(String, (Int, Int, Int))] = categoryTOP10ServiceReview.analysis()

    result.foreach(println)
  }
}
